<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<center>
  <h2>自定义错误</h2>
    <div>
        <h3 th:utext="|错误地址信息为${#request.getAttribute('url')}|"></h3>
        <h3 th:text="|错误原因为${#request.getAttribute('exception')}|"></h3>
        <h3 th:text="|错误具体信息|"></h3>
        <div th:each="message,messIter:${#request.getAttribute('exceptionMess')}">
            <span th:text="${message}"></span>
        </div>
    </div>
</center>
</body>
</html>